package com.market.service;

import com.market.entity.CommercialTenant;
import com.market.entity.Commodity;

import java.util.List;

public interface CommodityService {
    /**
     * 添加商品
     * @param commodity
     * @return
     */
    int addCommodity(Commodity commodity);

    /**
     * 删除商品
     * @param commodityId
     * @return
     */
    int deleteCommdity(Integer commodityId);

    /**
     * 查询商品
     * @return
     */
    List<Commodity> findCommodity();
}
